xen/passthrough: x86: Use INVALID_GFN rather than INVALID_MFN
authorJulien Grall <julien.grall@arm.com>
Tue, 28 Jun 2016 12:31:32 +0000 (13:31 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 13 Jul 2016 13:08:04 +0000 (14:08 +0100)
commitf71d2e6a91b5fcfec56dd16e54d91d3ab3419863
tree6a2a9cfdd8f2702a9f12f386adf4b1e609b780f8
parent43ecd183f9dbe4f2721c489d276e749029e88529
xen/passthrough: x86: Use INVALID_GFN rather than INVALID_MFN

A variable containing a guest frame should be compared to INVALID_GFN
and not INVALID_MFN.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/x86/iommu.c